package com.zdlee.netty.server8.protocol.command;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-11-27 17:29
 */
@Data
public abstract class Packet {

    @JSONField(deserialize = false,serialize = false)
    private Byte version=1;

    @JSONField(serialize = false)
    public abstract Byte getCommand();


}
